﻿CREATE TABLE [dbo].[Task]
(
	[Id] INT NOT NULL PRIMARY KEY, 
    [ComputerId] INT NOT NULL, 
    [TaskName] INT NOT NULL, 
    [Description] NVARCHAR(MAX) NULL, 
    [UserId] INT NULL, 
    [LastUpdatedate] TIMESTAMP NULL, 
    CONSTRAINT [FK_Task_User] FOREIGN KEY ([UserId]) REFERENCES [User]([Id]), 
    CONSTRAINT [FK_Task_ComputerId] FOREIGN KEY ([ComputerId]) REFERENCES [Computer]([Id])
)
